
import os
from cfcall.etcdb import md5db

"""
   before use apt-file, should run update first 

dependency_pkgs = ["apt-file"]
dependency_cmd = [
                  "sudo apt-file update",

                 ]
"""

favorate_pkg = [
                "smplayer",
                "stardict",
                "eclipse", 
                "kate",
                
                ]
def main():

    md5db.init_db()
    
    for pkg in favorate_pkg:
        os.system("sudo apt-get install -y -f " + pkg)
"""
    for pkg in dependency_pkgs:
        os.system("sudo apt-get install -y -f " + pkg)
    for cmd in dependency_cmd:
        os.system(cmd)
"""


   


    